<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="BASE" value="${pageContext.request.contextPath}"/>
<%--
  Created by IntelliJ IDEA.
  User: 35007
  Date: 2024/11/15
  Time: 下午2:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>客户管理</title>
</head>
<body>
    <h1>客户列表</h1>

    <table>
        <tr>
            <td>客户名称</td>
            <td>联系人</td>
            <td>电话号码</td>
            <td>邮箱地址</td>
            <td>操作</td>
        </tr>
        <c:forEach items="${requestScope.customerList}" var="customer">
            <tr>
                <td>${customer.name}</td>
                <td>${customer.contact}</td>
                <td>${customer.phone}</td>
                <td>${customer.email}</td>
            </tr>
<%--            <td><a href="${BASE}/customer_edit?id=${customer.id}">编辑</a></td>--%>
<%--            <td><a href="${BASE}/customer_delete?id=${customer.id}">删除</a></td>--%>
        </c:forEach>
    </table>
</body>
</html>
